<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path;
request.setAttribute("basePath", basePath);
%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>修改个人信息页面</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
		<base href="${basePath}/statics/">
		<link rel="stylesheet" href="css/font.css">
		<link rel="stylesheet" href="css/xadmin.css">
		<script src="js/jquery.min.js"></script>
		<script type="text/javascript" src="lib/layui/layui.js" charset="utf-8"></script>
		<script type="text/javascript" src="js/xadmin.js"></script>
		<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
		<!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>


    <![endif]-->
	</head>

	<body class="form-wrap">

		<div class="layui-fluid">
			<div class="layui-card" >
				<div class="layui-card-header">修改个人信息页面</div>
				<div class="layui-card-body" style="padding: 15px;">
					<form class="layui-form" action="${basePath}/updateuser.action" method="post" lay-filter="component-form-group">
						<input type="hidden" name="userId" value="${currentUser.userId}">

						<div class="layui-form-item">
							<label class="layui-form-label">人员姓名</label>
							<div class="layui-input-inline">
								<input type="text" id="userName"  name="userName" value="${currentUser.userName}"  autocomplete="off"  readonly="readonly" class="layui-input">
							</div>
						</div>

						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">人员性别</label>
								<div class="layui-input-inline">
									<input type="text" name="userSex" id="userSex"  readonly="readonly"    value="${currentUser.userName}"            autocomplete="off" class="layui-input">
								</div>
							</div>
						</div>

						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">人员生日</label>
								<div class="layui-input-inline">
									<input type="text" name="userBirthday" id="userBirthday"  value="<fmt:formatDate value="${currentUser.userBirthday}" type="Date"></fmt:formatDate>"   required="required"       readonly="readonly"       autocomplete="off" class="layui-input">

								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">人员年龄</label>
								<div class="layui-input-inline">
									<input type="text" name="userAge" id="userAge"  value="${currentUser.userAge}" placeholder="${currentUser.userAge}" required="required"                     autocomplete="off" class="layui-input">
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">人员籍贯</label>
								<div class="layui-input-inline">
									<input type="text" name="userProvince" id="userProvince"  value="${currentUser.userProvince}" placeholder="${currentUser.userProvince}" required="required"         readonly="readonly"         autocomplete="off" class="layui-input">
								</div>
							</div>
						</div>
						 <div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">人员电话</label>
								<div class="layui-input-inline">
									<input type="text" name="userTel" id="userTel" value="${currentUser.userTel}" placeholder="${currentUser.userTel}" required="required"      readonly="readonly"        autocomplete="off" class="layui-input">
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">人员邮箱</label>
								<div class="layui-input-inline">
									<input type="text" name="userEmail" id="userEmail" value="${currentUser.userEmail}" readonly="readonly"    autocomplete="off" class="layui-input">
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">人员证件类型</label>
								<div class="layui-input-inline">
									<input type="text" name="userIdType" id="userIdType"   readonly="readonly"  value="${currentUser.userEmail}"   autocomplete="off" class="layui-input">
								</div>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">人员证件号</label>
								<div class="layui-input-inline">
									<input type="text" name="userIdNumber" id="userIdNumber"   readonly="readonly"   value="${currentUser.userIdNumber}"       autocomplete="off" class="layui-input">
								</div>
							</div>
						</div>


						<div class="layui-input-block">
								<div class="layui-footer" style="left: 0;">
									<button class="layui-btn" lay-submit="" lay-filter="component-form-demo1">返回</button>
									<%--<button type="reset" class="layui-btn layui-btn-primary">重置</button>--%>
								</div>
							</div>
					</form>
				</div>
			</div>
		</div>



		<style id="LAY_layadmin_theme">
			.layui-side-menu,
			.layadmin-pagetabs .layui-tab-title li:after,
			.layadmin-pagetabs .layui-tab-title li.layui-this:after,
			.layui-layer-admin .layui-layer-title,
			.layadmin-side-shrink .layui-side-menu .layui-nav>.layui-nav-item>.layui-nav-child {
				background-color: #20222A !important;
			}
			
			.layui-nav-tree .layui-this,
			.layui-nav-tree .layui-this>a,
			.layui-nav-tree .layui-nav-child dd.layui-this,
			.layui-nav-tree .layui-nav-child dd.layui-this a {
				background-color: #009688 !important;
			}
			
			.layui-layout-admin .layui-logo {
				background-color: #20222A !important;
			}
		</style>
	</body>

</html>